package org.tea.crawl.biz.domain.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import org.apache.ibatis.type.JdbcType;
import org.springframework.data.annotation.Id;

/**
 * @author lxh
 */
@TableName("item_url")
public class TeaItemUrl {

    @Id
    @TableField("id")
    private Long id;

    @TableField(value = "url", jdbcType = JdbcType.VARCHAR)
    private String url;

    @TableField(value = "parsed", jdbcType = JdbcType.CHAR)
    private String parsed;

    @TableField(value = "parse_state", jdbcType = JdbcType.INTEGER)
    private Integer parseState;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getUrl() {
        return url;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public String getParsed() {
        return parsed;
    }

    public void setParsed(String parsed) {
        this.parsed = parsed;
    }

    public Integer getParseState() {
        return parseState;
    }

    public void setParseState(Integer parseState) {
        this.parseState = parseState;
    }
}
